package org.dftproject.gedcom.core.persistence;

import org.dftproject.gedcom.core.GedcomManager;
import org.dftproject.genesis.core.persistence.IMemento;
import org.dftproject.genesis.core.persistence.IPersistenceFactory;

public class GedcomFactory implements IPersistenceFactory {
	
	public static final String ID = GedcomFactory.class.getName();

	public Object createObject(IMemento memento) {
		return GedcomManager.getDefault().getGedcom(memento.getString("path"));
	}

}
